package com.zack.designPattern.visitor;

public class Son implements Visitor {

	@Override
	public void visit(Father v) {
		System.out.println("儿子拜访爸爸");

	}
	
	public void visit(Mother m){
		System.out.println("儿子拜访妈妈");
	}

}
